package cn.yomigaeri.signal.client;

import cn.yomigaeri.common.entity.po.Rule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
/**
 * @ClassName: WarnClient
 * @Package: cn.yomigaeri.signal.client
 * @Description:
 * @Author Yomigaeri
 * @Create 2025/6/5 11:58
 * @Version 1.0
 */
@FeignClient("warn-service")
public interface WarnClient {
    @GetMapping("/api/warn/rules")
    List<Rule> getRules();
}
